﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using Newtonsoft.Json;

namespace foursquare.Foursquare
{
    [JsonObject]
    public class Venue
    {
        [JsonProperty]
        public int id { get; set; }
        [JsonProperty]
        public string name { get; set; }
        [JsonProperty]
        public string address { get; set; }
        [JsonProperty]
        public string city { get; set; }
        [JsonProperty]
        public string state { get; set; }
        [JsonProperty]
        public string geolat { get; set; }
        [JsonProperty]
        public string geolong { get; set; }

        [JsonProperty]
        public string distance { get; set; }
        [JsonProperty]
        public string crossstreet { get; set; }
        [JsonProperty]
        public string zip { get; set; }
        [JsonProperty]
        public string phone { get; set; }
        [JsonProperty]
        public string twitter { get; set; }
        [JsonProperty]
        public List<Checkin> checkins { get; set; }

        public override string ToString()
        {
            return name;
        }
    }
}
